package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 补货商品明细
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_replenishment_detailed")
public class ReplenishmentDetailed extends Model<ReplenishmentDetailed> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	private String id;
    /**
     * 商品ID
     */
	private String goodsId;
    /**
     * 补货数量
     */
	private Integer number;
    /**
     * 补货记录表ID
     */
	private String replenishmentId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getReplenishmentId() {
		return replenishmentId;
	}

	public void setReplenishmentId(String replenishmentId) {
		this.replenishmentId = replenishmentId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ReplenishmentDetailed{" +
			"id=" + id +
			", goodsId=" + goodsId +
			", number=" + number +
			", replenishmentId=" + replenishmentId +
			"}";
	}
}
